diff --git a/macros.openstack-common b/macros.openstack-common index 109bdd92b711e2d25f8859c40004028818b4d9ec..115f8e20af635600c2f1a37c9e5df68bb42f30df 100644 --- a/macros.openstack-common +++ b/macros.openstack-common @@ -1,5 +1,4 @@ # Macros for building OpenStack RPMs. -# # # OpenStack macros @@ -16,7 +15,7 @@ install -d -m 755 %{buildroot}/%{openstack_test_package_dir} \ # Some packages differ here, try to install as much as possible: \ cp -av \\\ - README.md README.rst PKG-INFO .testr.conf .stestr.conf .*tests bin \\\ + README.md README.rst PKG-INFO .testr.conf .*tests bin \\\ etc examples run_tests.* setup.cfg setup.py \\\ smoketests static test tests tools tox.ini \\\ %{buildroot}/%{openstack_test_package_dir} || : \ diff --git a/macros.openstack-openEuler b/macros.openstack-openEuler index 837263cdc76ede12a49d7bbff62699c9ff276d64..6542d5234eae414c04c7895cb349340729d285ac 100644 --- a/macros.openstack-openEuler +++ b/macros.openstack-openEuler @@ -1,4 +1,4 @@ -# OpenEuler macros +# openEuler macros # Create given user with given group (to be used as %pre scriptlet for # openstack related daemons). Also migrates away from openstack- prefixed @@ -66,5 +66,9 @@ sed -i "s/%{2}/%{1}_tests/g" $tempest_egg_path/PKG-INFO \ %apache_user apache %apache_group apache + +# +# ext_man is used by the singlespec macro but is not defined on Fedora +# %ext_info .gz %ext_man .gz diff --git a/openstack-macros.spec b/openstack-macros.spec index b0389dbadbcc7396d4dc93e2389c3c7029b97a2a..c4f5e4530c08588ca3961cd43e1ddb43fe96955a 100644 --- a/openstack-macros.spec +++ b/openstack-macros.spec @@ -1,8 +1,8 @@ Name: openstack-macros -Version: 2021.1.5 -Release: 0%{?dist} +Version: 2018.1.2 +Release: 0 Summary: OpenStack Packaging - RPM Macros -License: ASL 2.0 +License: Apache-2.0 Group: Development/Libraries/Python URL: https://wiki.openstack.org/wiki/Rpm-packaging Source1: macros.openstack-common @@ -21,12 +21,10 @@ packages. install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.openstack-common install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.openstack-openEuler - %files %{_sysconfdir}/rpm/macros.openstack-common %{_sysconfdir}/rpm/macros.openstack-openEuler %changelog -* Tue Jan 5 2021 joechan1988 - 2021.1.5 -- Added openEuler macros - +* Mon May 17 2021 openstack-sig +- Package Spec generated