Reduce macro indirection in the spec file
This commit is contained in:
parent
d84d949552
commit
6acde1f72d
@ -66,26 +66,26 @@ The API/ABI version series is %{apiver}.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Summary: Development files for cairomm%{apiver}
|
||||
Requires: cairomm%{apiver}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for developing
|
||||
applications that use %{name}.
|
||||
The cairomm%{apiver}-devel package contains libraries and header files for
|
||||
developing applications that use cairomm%{apiver}.
|
||||
|
||||
The API/ABI version series is %{apiver}.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Summary: Documentation for cairomm%{apiver}
|
||||
BuildArch: noarch
|
||||
Requires: libstdc++-docs
|
||||
Requires: libsigc++20-doc
|
||||
|
||||
%description doc
|
||||
Documentation for %{name} can be viewed either through the devhelp
|
||||
Documentation for cairomm%{apiver} can be viewed either through the devhelp
|
||||
documentation browser or through a web browser at
|
||||
%{_datadir}/doc/%{name}-%{apiver}/.
|
||||
%{_datadir}/doc/cairomm%{apiver}-%{apiver}/.
|
||||
|
||||
The API/ABI version series is %{apiver}.
|
||||
|
||||
@ -96,11 +96,11 @@ The API/ABI version series is %{apiver}.
|
||||
workdir="$(mktemp --directory)"
|
||||
gpg2 --homedir="${workdir}" --yes --import '%{SOURCE2}'
|
||||
gpg2 --homedir="${workdir}" --export --export-options export-minimal \
|
||||
> %{name}.gpg
|
||||
> cairomm%{apiver}.gpg
|
||||
rm -rf "${workdir}"
|
||||
|
||||
%{gpgverify} \
|
||||
--keyring='%{name}.gpg' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
--keyring='cairomm%{apiver}.gpg' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
|
||||
%autosetup -n cairomm-%{version}
|
||||
# We must remove the jQuery/jQueryUI bundle with precompiled/minified/bundled
|
||||
|
Loading…
Reference in New Issue
Block a user