Use %name mcaro

i9ce
Benjamin A. Beasley 4 years ago
parent 9e1acbb147
commit 6eadcee594

@ -4,13 +4,13 @@ Version: 0.8.14
%global so_version 0 %global so_version 0
Release: 24%{?dist} Release: 24%{?dist}
URL: https://download.gnome.org/sources/libIDL/0.8/ URL: https://download.gnome.org/sources/%{name}/0.8/
Source: %{url}/%{name}-%{version}.tar.bz2 Source: %{url}/%{name}-%{version}.tar.bz2
License: LGPLv2+ License: LGPLv2+
# Fix paths reported by the libIDL-config tool to conform with Fedora multilib # Fix paths reported by the libIDL-config-2 tool to conform with Fedora
# installation paths: # multilib installation paths:
Patch0: libIDL-0.8.6-multilib.patch Patch0: %{name}-0.8.6-multilib.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
@ -20,14 +20,14 @@ BuildRequires: flex
BuildRequires: bison BuildRequires: bison
%global common_description %{expand: %global common_description %{expand:
libIDL is a library for parsing IDL (Interface Definition Language). It can be %{name} is a library for parsing IDL (Interface Definition Language). It can be
used for both COM-style and CORBA-style IDL.} used for both COM-style and CORBA-style IDL.}
%description %{common_description} %description %{common_description}
%package devel %package devel
Summary: Development libraries and header files for libIDL Summary: Development libraries and header files for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: pkgconfig >= 1:0.8 Requires: pkgconfig >= 1:0.8
Requires: glib2-devel%{?_isa} >= 2.0 Requires: glib2-devel%{?_isa} >= 2.0
@ -35,7 +35,7 @@ Requires: glib2-devel%{?_isa} >= 2.0
%description devel %{common_description} %description devel %{common_description}
This package contains the header files and libraries needed to write or compile This package contains the header files and libraries needed to write or compile
programs that use libIDL. programs that use %{name}.
%prep %prep
@ -61,18 +61,18 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%doc BUGS %doc BUGS
%doc MAINTAINERS %doc MAINTAINERS
%{_libdir}/libIDL-2.so.%{so_version} %{_libdir}/%{name}-2.so.%{so_version}
%{_libdir}/libIDL-2.so.%{so_version}.* %{_libdir}/%{name}-2.so.%{so_version}.*
%files devel %files devel
%{_libdir}/libIDL-2.so %{_libdir}/%{name}-2.so
%{_includedir}/libIDL-2.0/ %{_includedir}/%{name}-2.0/
%{_libdir}/pkgconfig/libIDL-2.0.pc %{_libdir}/pkgconfig/%{name}-2.0.pc
%{_bindir}/libIDL-config-2 %{_bindir}/%{name}-config-2
%{_infodir}/libIDL2.info* %{_infodir}/%{name}2.info*
%changelog %changelog
@ -84,6 +84,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
- Rather than removing the static library, skip building it with --disable-static - Rather than removing the static library, skip building it with --disable-static
- Drop obsolete %%ldconfig_scriptlets macro - Drop obsolete %%ldconfig_scriptlets macro
- Use much stricter path globs - Use much stricter path globs
- Use %%name macro
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.14-23 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.14-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save